package br.edu.universo.si.projeto2.infojob.server.negocio;

import java.sql.SQLException;
import java.util.HashMap;

import br.edu.universo.si.projeto2.infojob.server.persistencia.PSetorAtuacao;

public class NSetoresAtuacao
{
	public static HashMap<Integer, String> getSetoresAtuacao() throws Exception
	{
		try
		{
			return PSetorAtuacao.getSetoresAtuacao();
		}
		catch (ClassNotFoundException ex)
		{
			ex.printStackTrace();
			throw new Exception(ex.toString());
		}
		catch (SQLException ex)
		{
			ex.printStackTrace();
			throw new Exception(ex.toString());			
		}
		catch (Exception ex)
		{
			ex.printStackTrace();
			throw new Exception(ex.toString());
		}
	}
}